#include <iostream>
using namespace std;

struct job{
    char name[40];
    double salary;
    int floor;
};
void Swap(job &job1, job &job2){
    job temp;
    temp = job1;
    job1 = job2;
    job2 = temp;
}
int main() {
    struct job job1 = {"Java", 12000.0, 7};
    struct job job2 = {"Python", 7000.0, 3};
    Swap(job1, job2);
    cout << job2.name << endl << job2.salary << endl;
    return 0;
}